export default {
  path: '/content',
  name: 'ydd_content',
  component: () => import('@/layout/index.vue'),
  meta: { title: '内容管理', icon: 'el-icon-collection' },
  redirect: '/content_cate',
  children: [
    {
      path: '/content_cate',
      name: 'ydd_cate',
      component: () => import('@/views/content/cate.vue'),
      meta: { title: '分类管理', icon: 'el-icon-s-grid' }
    },
    {
      path: '/content_tag',
      name: 'ydd_tag',
      component: () => import('@/views/content/tag.vue'),
      meta: { title: '标签管理', icon: 'el-icon-collection-tag' }
    },
    {
      path: '/content_article',
      name: 'ydd_article',
      component: () => import('@/views//content/article.vue'),
      meta: { title: '文章管理', icon: 'el-icon-notebook-2' }
    },
    {
      path: '/content_article/add',
      name: 'content_article_add',
      component: () => import('@/views/content/article/info.vue'),
      meta: { title: '添加文章', icon: 'dashboard' },
      hidden: true
    },
    {
      path: '/content_article/edit/:id',
      name: 'content_article_edit',
      component: () => import('@/views/content/article/info.vue'),
      meta: { title: '修改文章', icon: 'dashboard' },
      hidden: true
    }
  ]
}
